package org.dtrd.modules.evaluation.entity.bean.nrs;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.dtrd.modules.evaluation.entity.po.DtrdEntEvaluationRdNrs;

import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiao
 * @since 2022-08-15
 */
@Getter
@Setter
@NoArgsConstructor
@ApiModel(value = "营养风险评估列表信息", description = "营养风险评估列表信息")
public class NrsListInfo {

    private Integer dataId;


    @ApiModelProperty("患者Id")
    private Integer patientId;


    @ApiModelProperty("疾病状态 1分-骨选1 ；2分-腹选2 ；3分-颅选3")
    private String diseaseStatus;

    @ApiModelProperty("营养状况指标 0分-正常选1 ；1分-3个月选2； 2分-2个月选3； 3分-1个月选4")
    private Integer nutritionalStatus;

    @ApiModelProperty("是否大于70岁  0分小于70选1； 1分大于等于70选2")
    private Integer isSeventy;

    @ApiModelProperty("最终得分")
    private Integer score;

    @ApiModelProperty("评估结果")
    private String output;

    @ApiModelProperty("创建时间")
    private Date createDate;

    public NrsListInfo (DtrdEntEvaluationRdNrs po) {
        dataId = po.getDataId();
        patientId = po.getPatientId();
        diseaseStatus = po.getDiseaseStatus();
        nutritionalStatus = po.getNutritionalStatus();
        isSeventy = po.getIsSeventy();
        score = po.getScore();
        output = po.getOutput();
        createDate = po.getCreateTime();
    }
}
